package cn.yunyichina.provider.sys.dao;

import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import cn.yunyichina.provider.sys.entity.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2018-01-26 15:06:28
*/
@Repository
@MyBatisRepository
public interface RoleDao extends BaseDao<cn.yunyichina.provider.sys.entity.Role>{
   List<Role> selectRoleByAccount(@Param("userId")String userId);
}